<?php


use Illuminate\Support\Facades\Route;
use Illuminate\Http\Request;


//用户
Route::get('/admin', 'AdminController@lists');
Route::post('/admin', 'AdminController@create');
Route::post('/admin', 'AdminController@create');
Route::patch('/admin/{id}', 'AdminController@update');
Route::delete('/admin/{id}','AdminController@delete');
Route::get('/admin/Info', 'AdminController@Info');

Route::get('/ceshi', 'AdminController@ceshi');

Route::post('/admin/login', 'AdminController@login');
Route::get('/admin/captcha', 'AdminController@captcha');
Route::get('/admin/logout', 'AdminController@logout');


Route::get('/admin/code', 'AdminController@code');


